uniform sampler2D uSampler;

varying vec2 vTextureCoord;
varying vec2 vRgbCoord;
varying vec2 vAlphaCoord;

void main(void)
{
  vec3 rgb = texture2D(uSampler, vRgbCoord).rgb;
  float alpha = texture2D(uSampler, vAlphaCoord).r;

  gl_FragColor = vec4(rgb, alpha);
}
